package com.supermarket.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 文章点赞实体类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ArticleLike implements Serializable {
    
    /**
     * 点赞ID
     */
    private Integer id;
    
    /**
     * 文章ID
     */
    private Integer articleId;
    
    /**
     * 用户ID
     */
    private Integer userId;
    
    /**
     * 状态：ACTIVE-有效，CANCELLED-已取消
     */
    private String status;
    
    /**
     * 点赞时间
     */
    private LocalDateTime createTime;
    
    /**
     * 更新时间
     */
    private LocalDateTime updateTime;
} 